<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/page/common/public.jspf"%>
<%@ page import="com.hengpeng.itfints.tools.PageUtil" %>
<% 
	PageUtil pageUtil = (PageUtil)request.getAttribute("PageUtil");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>项目信息</title>
<link rel="stylesheet" type="text/css" href="${path}/css/base.css"/>
<link rel="stylesheet" type="text/css" href="${path}/css/layout.css"/>
<script src="${path }/js/common/jquery1.10.2.min.js"></script>
<script src="${path }/js/common/helper.js?v=${v}"></script>
<script src="${path }/js/common/cookie.js?v=${v}"></script>
<script type="text/javascript">
//分页
function go (page, total) {
	if (page > total) {
		page = total;
	}
	$("#curPage").val(page);
	$("#myform").submit();
}
$(document).ready(function(){
	
	$("a[isSearch='YES']").click(function(){
		var k = $(this).attr("searchName");
		var v = $(this).attr("searchValue");
		$("#"+k).val(v);
		$("#myform").submit();
	});
	
	$("a[isSearch='YES']").removeClass("cur");
	$("input[type='hidden']").each(function(){
		var name = $(this).attr("name");
		var v = $(this).val();
		$("a[isSearch='YES'][searchName='"+name+"'][searchValue='"+v+"']").addClass("cur");
	});
});
</script>
</head>
<body bgcolor="#f9f9f9">
<form id="myform" action="<%=request.getContextPath()%>/project/list.htm">
	
	<input type="hidden" name="projectType" value="PROJECTFINACE"/>
	<input type="hidden" id="curPage" name="curPage" />
	<input type="hidden" id="bussinessType" name="bussinessType" value="${bussinessType }"/>
	<input type="hidden" id="location" name="location" value="${location }"/>
	<input type="hidden" id="financeType" name="financeType" value="${financeType }"/>
	<input type="hidden" id="gm" name="gm" value="${gm }"/>
	
    <!-- head -->
	<c:import url="../include/top.jsp"></c:import>
	
	
	<div class="youarehere">
		<div class="localtion"><a href="${path }/">首页</a> > 项目列表</div>
	</div>
	
	
	<!--主体  -->
	<div class="wrap f_yh productContent">
			<div class="filter-wrap fSize_14">
                        <dl class="clearfix invest-filter">
                            <dt>融资方式</dt>
                            <dd class="clearfix">
                                <span class="all">
                                	<a href="javascript:void(0);" searchName="financeType" searchValue="" isSearch="YES" class="cur">全部</a>
                                </span>
                                <ul class="selection clearfix">
                                    <li><a class="" searchName="financeType" searchValue="stockstype" isSearch="YES" href="javascript:void(0);">股权融资</a></li>
                                    <li><a class="" searchName="financeType" searchValue="credittype" isSearch="YES"   href="javascript:void(0);">债权融资</a></li>
                                </ul>
                            </dd>
                        </dl>
                        <!--  
						<dl class="clearfix invest-filter">
                            <dt>所属行业</dt>
                            <dd class="clearfix">
                                <span class="all"><a class="cur" searchName="bussinessType" searchValue="" isSearch="YES" href="javascript:void(0);">全部</a></span>
                                <ul class="selection clearfix">
                                    <li><a class="" searchName="bussinessType" searchValue="type1" isSearch="YES"  href="javascript:void(0);">计算机/互联网/通信/电子</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type2" isSearch="YES"  href="javascript:void(0);">会计/金融/银行/保险</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type3" isSearch="YES"  href="javascript:void(0);">贸易/消费/制造/保险</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type4" isSearch="YES"  href="javascript:void(0);">制药/医疗</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type5" isSearch="YES"  href="javascript:void(0);">广告/媒体</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type6" isSearch="YES"  href="javascript:void(0);">房地产/建筑</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type7" isSearch="YES"  href="javascript:void(0);">专业服务/教育/培训</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type8" isSearch="YES"  href="javascript:void(0);">服务业</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type9" isSearch="YES"  href="javascript:void(0);">物流/运输</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type10" isSearch="YES"  href="javascript:void(0);">能源/原材料</a></li>
                                    <li><a class="" searchName="bussinessType" searchValue="type11" isSearch="YES"  href="javascript:void(0);">政府/非盈利性机构/其他</a></li>
                                </ul>
                            </dd>
                        </dl>-->
                        <dl class="clearfix invest-filter">
                            <dt>融资规模</dt>
                            <dd class="clearfix">
                                <span class="all"><a class="cur" searchName="gm" searchValue="" isSearch="YES" href="javascript:void(0);">全部</a></span>
                                <ul class="selection clearfix">
                                    <li><a class="" searchName="gm" searchValue="less200" isSearch="YES"  href="javascript:void(0);">200万以下</a></li>
                                    <li><a class="" searchName="gm" searchValue="200to500" isSearch="YES"  href="javascript:void(0);">200-500万</a></li>
                                    <li><a class="" searchName="gm" searchValue="500to800" isSearch="YES"  href="javascript:void(0);">500-800万</a></li>
                                    <li><a class="" searchName="gm" searchValue="morethan800" isSearch="YES"  href="javascript:void(0);">800万以上</a></li>
                                </ul>
                            </dd>
                        </dl>
                        <dl class="clearfix  invest-filter last-col">
                            <dt>地区</dt>
                            <dd class="clearfix">
                                <span class="all">
                                	<a class="cur" href="javascript:void(0);" searchName="location" searchValue="" isSearch="YES"  data-identity="fundGroupId" data-val="">全部</a>
                                </span>
                                <ul class="selection clearfix">
                                    <li class=""><a searchName="location" searchValue="BEIJING" isSearch="YES"  class="">北京市</a></li>
                                    <li class=""><a searchName="location" searchValue="TIANJIN" isSearch="YES"  class="">天津市</a></li>
                                    <li class=""><a searchName="location" searchValue="CHONGQING" isSearch="YES"  class="">重庆市</a></li>
                                    <li class=""><a searchName="location" searchValue="SHANGHAI" isSearch="YES"  class="">上海市</a></li>
                                    <li class=""><a searchName="location" searchValue="HEBEI" isSearch="YES"  class="">河北省</a></li>
                                    <li class=""><a searchName="location" searchValue="SANXI" isSearch="YES"  class="">山西省</a></li>

                                    <li class="more hidden"><a searchName="location" searchValue="JILIN" isSearch="YES"  class="">吉林省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="LIAONIN" isSearch="YES"  class="">辽宁省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="HEILONGJIANG" isSearch="YES"  class="">黑龙江省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="SHANXI" isSearch="YES"  class="">陕西省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="GANSHU" isSearch="YES"  class="">甘肃省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="QINGHAI" isSearch="YES"  class="">青海省</a></li>
                                    

                                    <li class="more hidden"><a searchName="location" searchValue="SHANDONG" isSearch="YES"  class="">山东省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="FUJIAN" isSearch="YES"  class="">福建省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="ZHEJIANG" isSearch="YES"  class="">浙江省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="TAIWAN" isSearch="YES"  class="">台湾省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="HENAN" isSearch="YES"  class="">河南省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="HUBEI" isSearch="YES"  class="">湖北省</a></li>
                                    
                                    
                                    <li class="more hidden"><a searchName="location" searchValue="HUNAN" isSearch="YES"  class="">湖南省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="JIANGXI" isSearch="YES"  class="">江西省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="JIANGSHU" isSearch="YES"  class="">江苏省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="ANHUI" isSearch="YES"  class="">安徽省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="GUANGDONG" isSearch="YES"  class="">广东省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="HAINAN" isSearch="YES"  class="">海南省</a></li>
                                    
                                    <li class="more hidden"><a searchName="location" searchValue="SICHUAN" isSearch="YES"  class="">四川省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="GUIZHOU" isSearch="YES"  class="">贵州省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="YUNNAN" isSearch="YES"  class="">云南省</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="NEIMENGGU" isSearch="YES"  class="">内蒙古自治区</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="XINGJIANG" isSearch="YES"  class="">新疆维自治区</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="NINXIA" isSearch="YES"  class="">宁夏回族自治区</a></li>
                                    
                                    <li class="more hidden"><a searchName="location" searchValue="GUANGXI" isSearch="YES"  class="">广西壮族自治区</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="XIZANG" isSearch="YES"  class="">西藏自治区</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="XIANGGANG" isSearch="YES"  class="">香港特别行政区</a></li>
                                    <li class="more hidden"><a searchName="location" searchValue="AOMEN" isSearch="YES"  class="">澳门特别行政区</a></li>
                                </ul>
                            </dd>
                                <a class="display-indicator">
                                    <span class="indicator-text">更多</span>
                                    <span class="icon-arrow-big"></span>
                                </a>
                        </dl>
</div>
</div>
<script type="text/javascript">
$(function() {
	r = $(".selection li.more");
    $(".display-indicator .indicator-text").click(function() {
        $(this).text(r.is(":hidden") ? "收起" : "更多");
        r.slideToggle();
    });
});
</script>
<div class="wrap f_yh">
<div class="ty_line" style="margin-bottom: 50px;overflow: auto;background: #fff">
   	<div class="dh_pub_list" id="tags">
           <ul>
               <li><a href="javascript:void(0);" class="overbg">综合排序</a></li>
               <li class="r">共有 <span><%=pageUtil.getTotalCount()%></span> 个符合要求的资金信息</li>
           </ul>
       </div>
	<div class="clearfix"></div>
	<div>
		<table cellpadding="0" cellspacing="0" class="clubTable" width="100%">
			<tr class="borderBottom_dd">
				<td style="width: 35%">项目名称</td>
				<td style="width: 15%">项目类型</td>
				<td style="width: 10%">融资金额</td>
				<td style="width: 15%">所在地区</td>
				<td style="width: 15%">所属行业</td>
				<td style="width: 10%">联系人</td>
				<td>&nbsp;</td>
			</tr>
			<c:forEach items="${dataList}" var="auto" varStatus="sta">
				<tr class="<c:if test="${sta.index%2 eq 0 }">borderBottom_d1</c:if>" 
					onmouseover="this.className='borderBottom_d2 over_bgcolor'" 
					onmouseout="this.className='<c:if test="${sta.index%2 eq 0 }">borderBottom_d1</c:if>'">
					<td>
						<p class="borrow_title">
							<a href="<%=request.getContextPath()%>/project/detail.htm?id=${auto.id}">${auto.projectname}</a>
						</p>
					</td>
					<td>
						<p>${auto.projectType.text}</p>
					</td>
					<td>
						<p>
							<c:choose>
								<c:when test="${auto.financeMoney/100/10000 >= 1}">
									<fmt:formatNumber value="${auto.financeMoney/100/10000}" pattern="#0"></fmt:formatNumber>  
								</c:when>
								<c:otherwise>
									${auto.financeMoney/100/10000}
								</c:otherwise>   
							</c:choose>
							万元
						</p>
					</td> 
					<td>
						<p>${auto.location.text}</p>
					</td>
					<td>
						<p>${auto.bussinessType.text}</p>
					</td>
					<td>
						<p>${auto.linkMan}</p>
					</td>
					<td>
						<input type="button" class="orangeBtn" onclick="toorder('${auto.id}')"  value="约谈项目方" />
					</td>
				</tr>
			</c:forEach>
		</table>	
	</div>
	<div class="paginations">
		<div class="page-bottom">
			记录总数<%=pageUtil.getTotalCount()%>条 当前页/总页数<%=pageUtil.getCurrentPage()%> 
			/<%=pageUtil.getPageCount()%>每页显示<%=pageUtil.getPageSize()%>条 
			<a onclick="javascript:go(1,<%=pageUtil.getPageCount()%>);" href="javascript:void(0);" name="pagebar_frist" class="page-start"><span>首页</span></a> 
			<a onclick="javascript:go(<%=(pageUtil.getCurrentPage() - 1)%>,<%=pageUtil.getPageCount()%>);" href="javascript:void(0);" name="pagebar_pre" class="page-prev"><span>上一页</span></a> 
			<a onclick="javascript:go(<%=(pageUtil.getCurrentPage() + 1)%>,<%=pageUtil.getPageCount()%>);" href="javascript:void(0);" name="pagebar_next" class="page-next"><span>下一页</span></a> 
			<a onclick="javascript:go(<%=pageUtil.getPageCount()%>,<%=pageUtil.getPageCount()%>);" href="javascript:void(0);" name="pagebar_last" class="page-end"><span>末页</span></a> 
		</div>
	</div>
</div>
</div>
<!--主体-->
    	
    	
<!--foot-->
<c:import url="../include/foot.jsp"></c:import>
<!--foot--> 
</form>
<script type="text/javascript">
	function detail (id) {
		window.location.href = "<%=request.getContextPath()%>/project/detail.htm?id="+id+"";
	}
	function toorder (id) {
	    window.location.href = "<%=request.getContextPath()%>/project/toOrder.htm?projectId="+id;
	}
</script>  
</body>
</html>